﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Kieu.ascx.cs" Inherits="Control_Kieu" %>
<style type="text/css">
    .kieu1
    {
        width: 200px;
    }
    .kieu2
    {
        height: 22px;
    }
</style>

<table cellspacing="1" class="kieu1" border="2px">
    <tr>
        <td align="center" bgcolor="#0000CC" class="kieu2">
            <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Large" 
                ForeColor="White" Text="Kiểu "></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <asp:DataList ID="DataList1" runat="server" DataKeyField="MaKieu">
                <ItemTemplate>
                    <table cellspacing="1" class="kieu1">
                        <tr>
                            <td class="kieu2" width="20px">
                            </td>
                            <td class="kieu2" width="180px" align="left">
                                <asp:HyperLink ID="HyperLink1" runat="server" 
                                    NavigateUrl='<%# "~/TrangChu.aspx?MaKieu="+Eval("MaKieu") %>' 
                                    Text='<%# Eval("TenKieu") %>'></asp:HyperLink>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
        </td>
    </tr>
</table>

